package com.iot08.api.vo.request;

import com.iot08.api.vo.request.base.BodyForm;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ResetPasswordReqBodyFormVo extends BodyForm implements Serializable {
    private @NotNull(message = "国编码不能为空")
    Integer country_code;

    private @NotEmpty(message = "手机号不能为空")
    String phone;

    private String imei;

    private String password;

    //邮箱号
    private String email;

    //发送验证码的方式（0：短信验证码，1：邮箱验证码）
    private Integer sendCodeWay;

    private @NotEmpty(message = "API.request.parameterError.checkCode.notNull")
    String auth_code;

    private String uuid;

    private String openid;

    private String accesstoken;

}